//package com.boot.controller;
//
//
//import com.boot.util.FirstEntry;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import javax.servlet.ServletException;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.io.IOException;
//
//
//@Controller
//
//public class IndexController {
//    /**
//     * 系统登录页
//     * @return
//     */
//    @RequestMapping("home")
//    public String index(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException{
//        if(FirstEntry.isFirstEntry(request,response)){
//            return "updatePassword";
//        }else
//            return "home";
//    }
//
//
////    // 系统界面欢迎页
////    @RequestMapping("welcome")
////    public String welcome(){
////        return "welcome";
////    }
//
////
////    /**
////     * 无登陆主页显示
////     */
////    @RequestMapping({"index","/"})
////    public String index() {
////        return "index";
////    }
//
//}
